package com.bafa.objects;

public class LeaguePosition {

	
	     
	private int TeamID ;         
	private int Played  ;         
	private int Won  ;         
	private int Lost    ;         
	private int Drawn     ;         
	private int Points    ;         
	private int GoalsFor   ;         
	private int GoalsAgainst ;         
	private int FairPlay    ;
	private String TeamName;
	private int GoalDifference;
	
	public int getGoalDifference() {
		return GoalsFor-GoalsAgainst;
	}

	public LeaguePosition(
	 int TeamID ,         
	 int Played  ,         
	 int Won  ,         
	 int Lost    ,         
	 int Drawn     ,         
	 int Points    ,         
	 int GoalsFor   ,         
	 int GoalsAgainst ,         
	 int FairPlay,
	 String TeamName){
		 this.TeamID = TeamID;         
		 this.Played = Played ;         
		 this.Won = Won ;         
		 this.Lost = Lost    ;         
		 this.Drawn = Drawn     ;         
		 this.Points = Points    ;         
		 this.GoalsFor = GoalsFor   ;         
		 this.GoalsAgainst = GoalsAgainst;         
		 this.FairPlay = FairPlay   ;
		 this.TeamName = TeamName;
		 
	}
	
	public int getDrawn() {
		return Drawn;
	}
	public int getFairPlay() {
		return FairPlay;
	}
	public int getGoalsAgainst() {
		return GoalsAgainst;
	}
	public int getGoalsFor() {
		return GoalsFor;
	}
	public int getLost() {
		return Lost;
	}
	public int getPlayed() {
		return Played;
	}
	public int getPoints() {
		return Points;
	}
	
	public int getTeamID() {
		return TeamID;
	}
	public int getWon() {
		return Won;
	}  
	
	public String toString(){
		return getTeamName()+" - "+getPoints();
	}
	public String getTeamName() {
		return TeamName;
	}
	
	
}
